﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CommentManager.aspx.cs" Inherits="PowerCreator.LMS.Web.Sys.Comment.CommentManager" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>点评管理</title>
    <link href="../../css/default.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
.{
    font-size:12px
 }
</style>
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="colorbg">
            <tr>
                <th>
                    <img src="../../images/dh.gif" alt="导航图片" width="18" height="18" /></th>
                <td>
                    您的位置:后台管理 &gt; 点评管理 &gt; 管理点评</td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="talbe-rearch">
            <tr>
                <th>
                    课件搜索
                </th>
                <td>
                    <asp:TextBox ID="txtResourceName" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" CssClass="mybuttons" Text="搜 索" /></td>
            </tr>
        </table>
        <br />
        <asp:Repeater ID="rptResourceList" runat="server">
        <HeaderTemplate>
            <table width="98%" class="List-GridView" style="border-width:0px;border-collapse:collapse;" >
            <tr>
                <th>课件名称</th>
                <th>资源类型</th>                
                <th>评论总数</th>
                <th>操作</th>                
            </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="left" >                    
                        <%#DataBinder.Eval(Container.DataItem, "ResourceName")%>            
                </td>
                <td align="left">
                        <%#DataBinder.Eval(Container.DataItem, "NewResourceType")%>                    
                </td>
                 <td align="left">
                        <%#DataBinder.Eval(Container.DataItem, "CommentCount")%>                    
                </td>                 
                <td>
                    <asp:HyperLink ID="hypShowComment"  NavigateUrl='<%#Eval("ResourceID","ShowComment.aspx?ResourceID={0}") %>' runat="server">查看评论</asp:HyperLink>
                </td>             
            </tr>            
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
        </asp:Repeater>
        
        <br />
       <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="Center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" Width="100%"
                        meta:resourceKey="AspNetPager1" Style="font-size: 14px" InputBoxStyle="width:19px"
                        CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
